package com.lxitedu.utils;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.lxitedu.dao.EmailDataDao;

public class Context {
  private Map<String, Object> valueMap = new HashMap<String, Object>();
  private EmailDataDao        emailDataDao;
  private ThreadPool          threadPool;
  private List<String>        urlList  = new ArrayList<String>();

  public void setValueMap(Map<String, Object> valueMap) {
    this.valueMap = valueMap;
  }

  public Map<String, Object> getValueMap() {
    return valueMap;
  }

  public void setEmailDataDao(EmailDataDao emailDataDao) {
    this.emailDataDao = emailDataDao;
  }

  public EmailDataDao getEmailDataDao() {
    return emailDataDao;
  }

  public void setThreadPool(ThreadPool threadPool) {
    this.threadPool = threadPool;
  }

  public ThreadPool getThreadPool() {
    return threadPool;
  }

  public void setUrlList(List<String> urlList) {
    this.urlList = urlList;
  }

  public List<String> getUrlList() {
    return urlList;
  }
}
